#ifndef PURCHASEEDITDIALOG_H
#define PURCHASEEDITDIALOG_H

#include <QDialog>
#include <sqlmanage.h>
#include <QMessageBox>
#include <QPushButton>

namespace Ui {
class PurchaseEditDialog;
}

class PurchaseEditDialog : public QDialog
{
    Q_OBJECT

public:
//    void setEditMode(bool mode);
    explicit PurchaseEditDialog(QWidget *parent = 0);
    ~PurchaseEditDialog();

private slots:
    void on_buttonBox_accepted();

    void on_buttonBox_clicked(QAbstractButton *button);

private:
    Ui::PurchaseEditDialog *ui;
};

#endif // PURCHASEEDITDIALOG_H
